<div id="configDiv">
    <form method="post" action="<?php echo url('saveconfig');?>">
        <?php if(is_array($config)): ?><?php $i = 0;?><?php $__LIST__ = $config?><?php if( count($__LIST__)==0 ) : echo "" ; ?><?php else: ?><?php foreach($__LIST__ as $key=>$typevo): ?><?php ++$i;?><?php $mod = (($i % 2 )==0)?><dl>
                <dt><a style="cursor:pointer;" onclick="$('#<?php echo (md5($key)); ?>').slideToggle('normal');"><?php echo ($key); ?></a></dt>
                <dd id="<?php echo (md5($key)); ?>" style="display:none">
                    <table>
                    <?php if(is_array($typevo)): ?><?php $i = 0;?><?php $__LIST__ = $typevo?><?php if( count($__LIST__)==0 ) : echo "" ; ?><?php else: ?><?php foreach($__LIST__ as $key=>$itemvo): ?><?php ++$i;?><?php $mod = (($i % 2 )==0)?><tr><td><?php echo ($key); ?></td><td><input type="text" name="<?php echo ($key); ?>" value="<?php echo ($uc[$key]); ?>"></td><td><input type="hidden" name="<?php echo ($key); ?>_info" value="<?php echo ($itemvo); ?>"><?php echo ($itemvo); ?></td></tr><?php endforeach; ?><?php endif; ?><?php else: echo "" ;?><?php endif; ?>
                    </table>
                </dd>
            </dl><?php endforeach; ?><?php endif; ?><?php else: echo "" ;?><?php endif; ?>
        <p><input type="submit" value="保存" /></p>
    <?php if(C("TOKEN_ON")):?><input type="hidden" name="<?php echo C("TOKEN_NAME");?>" value="<?php echo Session::get(C("TOKEN_NAME")); ?>"/><?php endif;?></form>
</div>